package com.csjy.migration.hnnd;

/**
 * 运行程序提供的参数实体
 */
public class ProgramArgument {
  private String projectIds;
  private String orgCodes;
  private String cover;
  private String workflowIds;
  private Integer threadCount;
  private String tableNames;
  private String excludeTableNames;
  private String workflowCodes;
  private String migrateCommonData;
  private String onlyWorkflowData;
  private String onlyMigrateUndoneWorkflow;
  private String coverUndoneWorkflow;
  private String autoGenLoanInfo;

  public ProgramArgument(String projectIds, String orgCodes, String cover, String workflowIds, Integer threadCount, String tableNames, String excludeTableNames, String workflowCodes, String migrateCommonData, String onlyWorkflowData, String onlyMigrateUndoneWorkflow, String coverUndoneWorkflow, String autoGenLoanInfo) {
    this.projectIds = projectIds;
    this.orgCodes = orgCodes;
    this.cover = cover;
    this.workflowIds = workflowIds;
    this.threadCount = threadCount;
    this.tableNames = tableNames;
    this.excludeTableNames = excludeTableNames;
    this.workflowCodes = workflowCodes;
    this.migrateCommonData = migrateCommonData;
    this.onlyWorkflowData = onlyWorkflowData;
    this.onlyMigrateUndoneWorkflow = onlyMigrateUndoneWorkflow;
    this.coverUndoneWorkflow = coverUndoneWorkflow;
    this.autoGenLoanInfo = autoGenLoanInfo;
  }

  public String getMigrateCommonData() {
    return migrateCommonData;
  }

  public void setMigrateCommonData(String migrateCommonData) {
    this.migrateCommonData = migrateCommonData;
  }

  public Integer getThreadCount() {
    return threadCount;
  }

  public void setThreadCount(Integer threadCount) {
    this.threadCount = threadCount;
  }

  public String getOrgCodes() {
    return orgCodes;
  }

  public void setOrgCodes(String orgCodes) {
    this.orgCodes = orgCodes;
  }

  public static ProgramArgument buildDefault() {
    return new ProgramArgument("","","0","",100,
        "","","","1","0", "0","0","0");
  }

  public String getProjectIds() {
    return projectIds;
  }

  public void setProjectIds(String projectIds) {
    this.projectIds = projectIds;
  }

  public String getCover() {
    return cover;
  }

  public void setCover(String cover) {
    this.cover = cover;
  }

  public String getWorkflowIds() {
    return workflowIds;
  }

  public void setWorkflowIds(String workflowIds) {
    this.workflowIds = workflowIds;
  }

  public String getTableNames() {
    return tableNames;
  }

  public void setTableNames(String tableNames) {
    this.tableNames = tableNames;
  }

  public String getExcludeTableNames() {
    return excludeTableNames;
  }

  public void setExcludeTableNames(String excludeTableNames) {
    this.excludeTableNames = excludeTableNames;
  }

  public String getWorkflowCodes() {
    return workflowCodes;
  }

  public void setWorkflowCodes(String workflowCodes) {
    this.workflowCodes = workflowCodes;
  }

  public String getOnlyWorkflowData() {
    return onlyWorkflowData;
  }

  public void setOnlyWorkflowData(String onlyWorkflowData) {
    this.onlyWorkflowData = onlyWorkflowData;
  }

  public String getOnlyMigrateUndoneWorkflow() {
    return onlyMigrateUndoneWorkflow;
  }

  public void setOnlyMigrateUndoneWorkflow(String onlyMigrateUndoneWorkflow) {
    this.onlyMigrateUndoneWorkflow = onlyMigrateUndoneWorkflow;
  }

  public String getCoverUndoneWorkflow() {
    return coverUndoneWorkflow;
  }


  public void setCoverUndoneWorkflow(String coverUndoneWorkflow) {
    this.coverUndoneWorkflow = coverUndoneWorkflow;
  }

  public String getAutoGenLoanInfo() {
    return autoGenLoanInfo;
  }

  public void setAutoGenLoanInfo(String autoGenLoanInfo) {
    this.autoGenLoanInfo = autoGenLoanInfo;
  }
}
